package cn.source.system.domain;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import cn.source.common.annotation.Excel;
import cn.source.common.core.domain.BaseEntity;
/**
 * 校区管理对象 t_campus
 *
 * @author gygl
 * @date 2023-08-01
 */
public class Campus extends BaseEntity
{
    private static final long serialVersionUID = 1L;
    /** 校区id */
    @Excel(name = "校区id")
    private String campusId;
    /** 校区名 */
    @Excel(name = "校区名")
    private String campusName;
    /** 校区位置 */
    @Excel(name = "校区位置")
    private String location;
    public void setCampusId(String campusId)
    {
        this.campusId = campusId;
    }
    public String getCampusId()
    {
        return campusId;
    }
    public void setCampusName(String campusName)
    {
        this.campusName = campusName;
    }
    public String getCampusName()
    {
        return campusName;
    }
    public void setLocation(String location)
    {
        this.location = location;
    }
    public String getLocation()
    {
        return location;
    }
    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("campusId", getCampusId())
            .append("campusName", getCampusName())
            .append("location", getLocation())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
